<div class="modal-header">
    {{multiLan?('选择条码'|translate):'选择条码'}} <i class="yb-icon ico-close" ng-click="cancel()"></i>
</div>
<div class="modal-body tb-wrap">
    <div class="pos-r">
        <div class="search-bar wrapper-none col-xs-12" >
            <div class="normal-search clearfix pull-right">
                <label class="control-label">{{multiLan?('条码'|translate):'条码'}}：</label>
                <input type="text" class="form-control m-r-sm" ng-model="condition.code">
                <!-- <label class="control-label">{{multiLan?('仓库描述'|translate):'仓库描述'}}：</label>
                <input type="text" class="form-control m-r-sm" ng-model="condition.description"> -->
                <span class="btn btn-primary" ng-click="search(1)">{{multiLan?('搜索'|translate):'搜索'}}</span>
            </div>
        </div>
        <div yb-table-fixed class="table-fixed-wrap m-t-40">
            <div class="th-scroll-x">
                <table class="table border-none" width="{{editTbConf.scrollWidth}}">
                    <thead>
                    <tr>
                        <th width="40%">{{multiLan?('仓库编号'|translate):'仓库编号'}}</th>
                        <th width="60%">{{multiLan?('仓库描述'|translate):'仓库描述'}}</th>
                        <th width="80">{{multiLan?('操作'|translate):'操作'}}</th>
                    </tr>
                    </thead>
                </table>
            </div>
            <div class="td-scroll" ng-show="dataList.length > 0">
                <table class="table border-none">
                    <tbody>
                    <tr ng-repeat="item in dataList track by $index">
                        <td width="40%" class="spill-dots">{{item.warehouseCode}}</td>
                        <td width="60%" class="spill-dots">{{item.description}}</td>
                        <td width="80">
                            <button class="btn btn-operate" ng-disabled="selectedId == item.warehouseCode" ng-click="selectItem(item)">{{multiLan?('选择'|translate):'选择'}}</button>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </div>
            <div class="no-data w-full text-center p-t" ng-show="dataList.length === 0">{{multiLan?('暂时没有数据'|translate):'暂时没有数据'}}</div>
        </div>
    </div>
</div>
<div class="modal-footer">
    <div yb-page-info ng-model="pageInfo" yb-refresh="search()"></div>
</div>